package com.ls.lserp.modules.purchase.dao;




import java.util.List;

import com.ls.lserp.common.persistence.CrudDao;
import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.dbaccess.Entity.ContractProcessingDetailEntity;
import com.ls.lserp.dbaccess.Entity.ContractProcessingEntity;
import com.ls.lserp.modules.order.entity.AuditInfo;
import com.ls.lserp.modules.purchase.entity.PurchaseContract;
import com.ls.lserp.modules.purchase.entity.PuttingContract;
import com.ls.lserp.modules.setting.entity.Ognization;
@MyBatisDao
public interface PuttingContractDao extends CrudDao<PuttingContract>{
	
	public Ognization getPartyA(Ognization ognization);
	/* 提交 */
	public int commitUpdate(PuttingContract puttingContract);
	//ID查找款式
	public List<PuttingContract> findStyleByID(PuttingContract puttingContract);
	//
	public int updateStatus(AuditInfo auditInfo);
	//插入外发合同明细
	public int insertDetail(PuttingContract puttingContract);
	//删除外发合同明细
	public int deleteDetail(PuttingContract puttingContract);
	//外发加工合同信息明细表
	public int updateProcessingDetailContractStatus(ContractProcessingDetailEntity contractProcessingDetailEntity);
	//外发加工合同信息表
	public int updateProcessingContractStatus(ContractProcessingEntity contractProcessingEntity);
}
